var express = require('express');
var router = express.Router();
const { createMajor, getMajor } = require('../controllers/majorControllers')
    /* GET home page. */
    //二级接口
    //新增专业
router.post('/createMajor', createMajor);
router.get('/getMajor', getMajor);


module.exports = router;